<template>
	<view class="container">
		<!--标题栏-->
		<bar-title bgColor="bg-white" isBack>
			<block slot="content">我的收藏</block>
		</bar-title>
		
		<scroll-view
			class="list-scroll-content" 
			scroll-y
		>
			<!-- 空白页 -->
			<empty v-if="loaded === true && evaluateList.length === 0"></empty>
			
			<!-- 订单列表 -->
			<view class="evaluate-list">
				<block v-for="(item,index) in 9" :key="index">
					<ViewCollection></ViewCollection>
				</block>
			</view>
			 
			<uni-load-more :status="loadingType"></uni-load-more>
			
		</scroll-view>
		
		

		
	</view>
</template>

<script>
	import uniLoadMore from '@/components/basics/uni-load-more/uni-load-more.vue';
	import empty from "@/components/basics/empty";
	import ViewCollection from "@/components/box/ViewScenario";
	export default {
		components: {
			uniLoadMore,
			empty,
			ViewCollection
		},
		data() {
			return {
				loaded: false,
				loadingType: 'more',
				collectionList: []
			};
		},
		onLoad() {
			
		},
		onReady() {
			uni.pageScrollTo({
			    scrollTop: 0,
			    duration: 0
			});
		},
		methods: {
			editNameTap() {
				uni.navigateTo({
					url: "/pages/my/edit-name"
				});
			},
			sexPickerChange(e) {
				this.sexIndex = e.detail.value;
			},
			datePickerChange(e) {
				this.dateValue = e.detail.value;
			},
			synopsisTap() {
				uni.navigateTo({
					url: "/pages/my/edit-synopsis"
				});
			},
		}
	}
</script>

<style lang="scss" scoped>

</style>
